package com.yunji.order.dao.impl;

import com.yunji.common.base.BaseDaoImpl;
import com.yunji.order.dao.IOrderOrdinalDao;
import com.yunji.order.domain.OrderOrdinalDO;
import com.yunji.order.mapper.IOrderOrdinalMapper;
import org.springframework.stereotype.Repository;

import java.util.Collections;
import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2025/4/3 14:37
 * @description : TODO
 **/
@Repository
public class OrderOrdinalDaoImpl extends BaseDaoImpl<IOrderOrdinalMapper, OrderOrdinalDO> implements IOrderOrdinalDao {
    @Override
    public List<Integer> getOrdinalsByOrderId(Long orderId) {
        return baseMapper.getOrdinalsByOrderId(orderId);
    }
}
